package com.atguigu.dao;

import com.atguigu.bean.OrderItem;

import java.util.List;

/**
 * @ Author:任留辉
 * @ Description:
 * @ Date:Created in 21:07 2021/3/22 0022
 */
public interface OrderItemDao {
    /**
     * 保存订单项
     * @param orderItem
     */
    void saveOrderItem(OrderItem orderItem);

    /**
     * 查询订单详情
     * @param orderId
     * @return
     */
    List<OrderItem> getDetails(String orderId);
}
